


using System;
using SubSonic.Schema;
using System.Collections.Generic;
using SubSonic.DataProviders;
using System.Data;

namespace V5_EShop.Data {
	
        /// <summary>
        /// Table: Tbl_UserToArea
        /// Primary Key: id
        /// </summary>

        public class ModelUserToAreaTable: DatabaseTable {
            
            public ModelUserToAreaTable(IDataProvider provider):base("Tbl_UserToArea",provider){
                ClassName = "ModelUserToArea";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("id", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("tousername", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("touserareapro", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("touserareacity", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("touserareacity2", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("touserurl", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("topostnum", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("touserphone", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("tousertelephone", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("adddatetime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("userid", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn id{
                get{
                    return this.GetColumn("id");
                }
            }
				
   			public static string idColumn{
			      get{
        			return "id";
      			}
		    }
            
            public IColumn tousername{
                get{
                    return this.GetColumn("tousername");
                }
            }
				
   			public static string tousernameColumn{
			      get{
        			return "tousername";
      			}
		    }
            
            public IColumn touserareapro{
                get{
                    return this.GetColumn("touserareapro");
                }
            }
				
   			public static string touserareaproColumn{
			      get{
        			return "touserareapro";
      			}
		    }
            
            public IColumn touserareacity{
                get{
                    return this.GetColumn("touserareacity");
                }
            }
				
   			public static string touserareacityColumn{
			      get{
        			return "touserareacity";
      			}
		    }
            
            public IColumn touserareacity2{
                get{
                    return this.GetColumn("touserareacity2");
                }
            }
				
   			public static string touserareacity2Column{
			      get{
        			return "touserareacity2";
      			}
		    }
            
            public IColumn touserurl{
                get{
                    return this.GetColumn("touserurl");
                }
            }
				
   			public static string touserurlColumn{
			      get{
        			return "touserurl";
      			}
		    }
            
            public IColumn topostnum{
                get{
                    return this.GetColumn("topostnum");
                }
            }
				
   			public static string topostnumColumn{
			      get{
        			return "topostnum";
      			}
		    }
            
            public IColumn touserphone{
                get{
                    return this.GetColumn("touserphone");
                }
            }
				
   			public static string touserphoneColumn{
			      get{
        			return "touserphone";
      			}
		    }
            
            public IColumn tousertelephone{
                get{
                    return this.GetColumn("tousertelephone");
                }
            }
				
   			public static string tousertelephoneColumn{
			      get{
        			return "tousertelephone";
      			}
		    }
            
            public IColumn adddatetime{
                get{
                    return this.GetColumn("adddatetime");
                }
            }
				
   			public static string adddatetimeColumn{
			      get{
        			return "adddatetime";
      			}
		    }
            
            public IColumn userid{
                get{
                    return this.GetColumn("userid");
                }
            }
				
   			public static string useridColumn{
			      get{
        			return "userid";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_UserRole
        /// Primary Key: ID
        /// </summary>

        public class ModelUserRoleTable: DatabaseTable {
            
            public ModelUserRoleTable(IDataProvider provider):base("Tbl_UserRole",provider){
                ClassName = "ModelUserRole";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("RoleName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Discount", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn RoleName{
                get{
                    return this.GetColumn("RoleName");
                }
            }
				
   			public static string RoleNameColumn{
			      get{
        			return "RoleName";
      			}
		    }
            
            public IColumn Discount{
                get{
                    return this.GetColumn("Discount");
                }
            }
				
   			public static string DiscountColumn{
			      get{
        			return "Discount";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_B_BookClass
        /// Primary Key: ClassID
        /// </summary>

        public class ModelB_BookClassTable: DatabaseTable {
            
            public ModelB_BookClassTable(IDataProvider provider):base("Tbl_B_BookClass",provider){
                ClassName = "ModelB_BookClass";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ChannelID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassCode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassPhoto", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassKeyWord", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassDescription", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassTitle", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 100
                });

                Columns.Add(new DatabaseColumn("ParentID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Info", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn ChannelID{
                get{
                    return this.GetColumn("ChannelID");
                }
            }
				
   			public static string ChannelIDColumn{
			      get{
        			return "ChannelID";
      			}
		    }
            
            public IColumn ClassCode{
                get{
                    return this.GetColumn("ClassCode");
                }
            }
				
   			public static string ClassCodeColumn{
			      get{
        			return "ClassCode";
      			}
		    }
            
            public IColumn ClassPhoto{
                get{
                    return this.GetColumn("ClassPhoto");
                }
            }
				
   			public static string ClassPhotoColumn{
			      get{
        			return "ClassPhoto";
      			}
		    }
            
            public IColumn ClassKeyWord{
                get{
                    return this.GetColumn("ClassKeyWord");
                }
            }
				
   			public static string ClassKeyWordColumn{
			      get{
        			return "ClassKeyWord";
      			}
		    }
            
            public IColumn ClassDescription{
                get{
                    return this.GetColumn("ClassDescription");
                }
            }
				
   			public static string ClassDescriptionColumn{
			      get{
        			return "ClassDescription";
      			}
		    }
            
            public IColumn ClassTitle{
                get{
                    return this.GetColumn("ClassTitle");
                }
            }
				
   			public static string ClassTitleColumn{
			      get{
        			return "ClassTitle";
      			}
		    }
            
            public IColumn ParentID{
                get{
                    return this.GetColumn("ParentID");
                }
            }
				
   			public static string ParentIDColumn{
			      get{
        			return "ParentID";
      			}
		    }
            
            public IColumn Info{
                get{
                    return this.GetColumn("Info");
                }
            }
				
   			public static string InfoColumn{
			      get{
        			return "Info";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_User
        /// Primary Key: ID
        /// </summary>

        public class ModelUserTable: DatabaseTable {
            
            public ModelUserTable(IDataProvider provider):base("Tbl_User",provider){
                ClassName = "ModelUser";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("UserName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("UserPassword", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("RegDate", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("UserScore", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ScoreUsed", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("UserEmail", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("UserSex", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("LoginDate", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("LoginTimes", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("IdentityCard", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("PostCode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("AreaID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Address3", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Address2", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Address", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("IsLock", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("GroupID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Question", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Answer", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("LoginIP", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("FrozenDeposit", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Decimal,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("FrozenScore", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("BirthDay", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("QQ", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Telephone", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Phone", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("TrueName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("CommendUser", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("NewPassWord", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("GUID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Readme", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn UserName{
                get{
                    return this.GetColumn("UserName");
                }
            }
				
   			public static string UserNameColumn{
			      get{
        			return "UserName";
      			}
		    }
            
            public IColumn UserPassword{
                get{
                    return this.GetColumn("UserPassword");
                }
            }
				
   			public static string UserPasswordColumn{
			      get{
        			return "UserPassword";
      			}
		    }
            
            public IColumn RegDate{
                get{
                    return this.GetColumn("RegDate");
                }
            }
				
   			public static string RegDateColumn{
			      get{
        			return "RegDate";
      			}
		    }
            
            public IColumn UserScore{
                get{
                    return this.GetColumn("UserScore");
                }
            }
				
   			public static string UserScoreColumn{
			      get{
        			return "UserScore";
      			}
		    }
            
            public IColumn ScoreUsed{
                get{
                    return this.GetColumn("ScoreUsed");
                }
            }
				
   			public static string ScoreUsedColumn{
			      get{
        			return "ScoreUsed";
      			}
		    }
            
            public IColumn UserEmail{
                get{
                    return this.GetColumn("UserEmail");
                }
            }
				
   			public static string UserEmailColumn{
			      get{
        			return "UserEmail";
      			}
		    }
            
            public IColumn UserSex{
                get{
                    return this.GetColumn("UserSex");
                }
            }
				
   			public static string UserSexColumn{
			      get{
        			return "UserSex";
      			}
		    }
            
            public IColumn LoginDate{
                get{
                    return this.GetColumn("LoginDate");
                }
            }
				
   			public static string LoginDateColumn{
			      get{
        			return "LoginDate";
      			}
		    }
            
            public IColumn LoginTimes{
                get{
                    return this.GetColumn("LoginTimes");
                }
            }
				
   			public static string LoginTimesColumn{
			      get{
        			return "LoginTimes";
      			}
		    }
            
            public IColumn IdentityCard{
                get{
                    return this.GetColumn("IdentityCard");
                }
            }
				
   			public static string IdentityCardColumn{
			      get{
        			return "IdentityCard";
      			}
		    }
            
            public IColumn PostCode{
                get{
                    return this.GetColumn("PostCode");
                }
            }
				
   			public static string PostCodeColumn{
			      get{
        			return "PostCode";
      			}
		    }
            
            public IColumn AreaID{
                get{
                    return this.GetColumn("AreaID");
                }
            }
				
   			public static string AreaIDColumn{
			      get{
        			return "AreaID";
      			}
		    }
            
            public IColumn Address3{
                get{
                    return this.GetColumn("Address3");
                }
            }
				
   			public static string Address3Column{
			      get{
        			return "Address3";
      			}
		    }
            
            public IColumn Address2{
                get{
                    return this.GetColumn("Address2");
                }
            }
				
   			public static string Address2Column{
			      get{
        			return "Address2";
      			}
		    }
            
            public IColumn Address{
                get{
                    return this.GetColumn("Address");
                }
            }
				
   			public static string AddressColumn{
			      get{
        			return "Address";
      			}
		    }
            
            public IColumn IsLock{
                get{
                    return this.GetColumn("IsLock");
                }
            }
				
   			public static string IsLockColumn{
			      get{
        			return "IsLock";
      			}
		    }
            
            public IColumn GroupID{
                get{
                    return this.GetColumn("GroupID");
                }
            }
				
   			public static string GroupIDColumn{
			      get{
        			return "GroupID";
      			}
		    }
            
            public IColumn Question{
                get{
                    return this.GetColumn("Question");
                }
            }
				
   			public static string QuestionColumn{
			      get{
        			return "Question";
      			}
		    }
            
            public IColumn Answer{
                get{
                    return this.GetColumn("Answer");
                }
            }
				
   			public static string AnswerColumn{
			      get{
        			return "Answer";
      			}
		    }
            
            public IColumn LoginIP{
                get{
                    return this.GetColumn("LoginIP");
                }
            }
				
   			public static string LoginIPColumn{
			      get{
        			return "LoginIP";
      			}
		    }
            
            public IColumn FrozenDeposit{
                get{
                    return this.GetColumn("FrozenDeposit");
                }
            }
				
   			public static string FrozenDepositColumn{
			      get{
        			return "FrozenDeposit";
      			}
		    }
            
            public IColumn FrozenScore{
                get{
                    return this.GetColumn("FrozenScore");
                }
            }
				
   			public static string FrozenScoreColumn{
			      get{
        			return "FrozenScore";
      			}
		    }
            
            public IColumn BirthDay{
                get{
                    return this.GetColumn("BirthDay");
                }
            }
				
   			public static string BirthDayColumn{
			      get{
        			return "BirthDay";
      			}
		    }
            
            public IColumn QQ{
                get{
                    return this.GetColumn("QQ");
                }
            }
				
   			public static string QQColumn{
			      get{
        			return "QQ";
      			}
		    }
            
            public IColumn Telephone{
                get{
                    return this.GetColumn("Telephone");
                }
            }
				
   			public static string TelephoneColumn{
			      get{
        			return "Telephone";
      			}
		    }
            
            public IColumn Phone{
                get{
                    return this.GetColumn("Phone");
                }
            }
				
   			public static string PhoneColumn{
			      get{
        			return "Phone";
      			}
		    }
            
            public IColumn TrueName{
                get{
                    return this.GetColumn("TrueName");
                }
            }
				
   			public static string TrueNameColumn{
			      get{
        			return "TrueName";
      			}
		    }
            
            public IColumn CommendUser{
                get{
                    return this.GetColumn("CommendUser");
                }
            }
				
   			public static string CommendUserColumn{
			      get{
        			return "CommendUser";
      			}
		    }
            
            public IColumn NewPassWord{
                get{
                    return this.GetColumn("NewPassWord");
                }
            }
				
   			public static string NewPassWordColumn{
			      get{
        			return "NewPassWord";
      			}
		    }
            
            public IColumn GUID{
                get{
                    return this.GetColumn("GUID");
                }
            }
				
   			public static string GUIDColumn{
			      get{
        			return "GUID";
      			}
		    }
            
            public IColumn Readme{
                get{
                    return this.GetColumn("Readme");
                }
            }
				
   			public static string ReadmeColumn{
			      get{
        			return "Readme";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_B_BookTopicClass
        /// Primary Key: ClassID
        /// </summary>

        public class ModelB_BookTopicClassTable: DatabaseTable {
            
            public ModelB_BookTopicClassTable(IDataProvider provider):base("Tbl_B_BookTopicClass",provider){
                ClassName = "ModelB_BookTopicClass";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ChannelID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassCode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassPhoto", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassKeyWord", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassDescription", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassTitle", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 100
                });

                Columns.Add(new DatabaseColumn("ParentID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Info", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn ChannelID{
                get{
                    return this.GetColumn("ChannelID");
                }
            }
				
   			public static string ChannelIDColumn{
			      get{
        			return "ChannelID";
      			}
		    }
            
            public IColumn ClassCode{
                get{
                    return this.GetColumn("ClassCode");
                }
            }
				
   			public static string ClassCodeColumn{
			      get{
        			return "ClassCode";
      			}
		    }
            
            public IColumn ClassPhoto{
                get{
                    return this.GetColumn("ClassPhoto");
                }
            }
				
   			public static string ClassPhotoColumn{
			      get{
        			return "ClassPhoto";
      			}
		    }
            
            public IColumn ClassKeyWord{
                get{
                    return this.GetColumn("ClassKeyWord");
                }
            }
				
   			public static string ClassKeyWordColumn{
			      get{
        			return "ClassKeyWord";
      			}
		    }
            
            public IColumn ClassDescription{
                get{
                    return this.GetColumn("ClassDescription");
                }
            }
				
   			public static string ClassDescriptionColumn{
			      get{
        			return "ClassDescription";
      			}
		    }
            
            public IColumn ClassTitle{
                get{
                    return this.GetColumn("ClassTitle");
                }
            }
				
   			public static string ClassTitleColumn{
			      get{
        			return "ClassTitle";
      			}
		    }
            
            public IColumn ParentID{
                get{
                    return this.GetColumn("ParentID");
                }
            }
				
   			public static string ParentIDColumn{
			      get{
        			return "ParentID";
      			}
		    }
            
            public IColumn Info{
                get{
                    return this.GetColumn("Info");
                }
            }
				
   			public static string InfoColumn{
			      get{
        			return "Info";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Shop_Cart
        /// Primary Key: ID
        /// </summary>

        public class ModelShop_CartTable: DatabaseTable {
            
            public ModelShop_CartTable(IDataProvider provider):base("Tbl_Shop_Cart",provider){
                ClassName = "ModelShop_Cart";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_ArticleComment
        /// Primary Key: ID
        /// </summary>

        public class ModelArticleCommentTable: DatabaseTable {
            
            public ModelArticleCommentTable(IDataProvider provider):base("Tbl_ArticleComment",provider){
                ClassName = "ModelArticleComment";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("CommentName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("CommentContent", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("SelfID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("AddDateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ReplayContent", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("ReplayTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ReplayName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("CommentIP", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn CommentName{
                get{
                    return this.GetColumn("CommentName");
                }
            }
				
   			public static string CommentNameColumn{
			      get{
        			return "CommentName";
      			}
		    }
            
            public IColumn CommentContent{
                get{
                    return this.GetColumn("CommentContent");
                }
            }
				
   			public static string CommentContentColumn{
			      get{
        			return "CommentContent";
      			}
		    }
            
            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn SelfID{
                get{
                    return this.GetColumn("SelfID");
                }
            }
				
   			public static string SelfIDColumn{
			      get{
        			return "SelfID";
      			}
		    }
            
            public IColumn AddDateTime{
                get{
                    return this.GetColumn("AddDateTime");
                }
            }
				
   			public static string AddDateTimeColumn{
			      get{
        			return "AddDateTime";
      			}
		    }
            
            public IColumn ReplayContent{
                get{
                    return this.GetColumn("ReplayContent");
                }
            }
				
   			public static string ReplayContentColumn{
			      get{
        			return "ReplayContent";
      			}
		    }
            
            public IColumn ReplayTime{
                get{
                    return this.GetColumn("ReplayTime");
                }
            }
				
   			public static string ReplayTimeColumn{
			      get{
        			return "ReplayTime";
      			}
		    }
            
            public IColumn ReplayName{
                get{
                    return this.GetColumn("ReplayName");
                }
            }
				
   			public static string ReplayNameColumn{
			      get{
        			return "ReplayName";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
            public IColumn CommentIP{
                get{
                    return this.GetColumn("CommentIP");
                }
            }
				
   			public static string CommentIPColumn{
			      get{
        			return "CommentIP";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_B_BookComment
        /// Primary Key: ID
        /// </summary>

        public class ModelB_BookCommentTable: DatabaseTable {
            
            public ModelB_BookCommentTable(IDataProvider provider):base("Tbl_B_BookComment",provider){
                ClassName = "ModelB_BookComment";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("CommentName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("CommentContent", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("SelfID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("AddDateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ReplayContent", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("ReplayTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ReplayName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("CommentIP", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn CommentName{
                get{
                    return this.GetColumn("CommentName");
                }
            }
				
   			public static string CommentNameColumn{
			      get{
        			return "CommentName";
      			}
		    }
            
            public IColumn CommentContent{
                get{
                    return this.GetColumn("CommentContent");
                }
            }
				
   			public static string CommentContentColumn{
			      get{
        			return "CommentContent";
      			}
		    }
            
            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn SelfID{
                get{
                    return this.GetColumn("SelfID");
                }
            }
				
   			public static string SelfIDColumn{
			      get{
        			return "SelfID";
      			}
		    }
            
            public IColumn AddDateTime{
                get{
                    return this.GetColumn("AddDateTime");
                }
            }
				
   			public static string AddDateTimeColumn{
			      get{
        			return "AddDateTime";
      			}
		    }
            
            public IColumn ReplayContent{
                get{
                    return this.GetColumn("ReplayContent");
                }
            }
				
   			public static string ReplayContentColumn{
			      get{
        			return "ReplayContent";
      			}
		    }
            
            public IColumn ReplayTime{
                get{
                    return this.GetColumn("ReplayTime");
                }
            }
				
   			public static string ReplayTimeColumn{
			      get{
        			return "ReplayTime";
      			}
		    }
            
            public IColumn ReplayName{
                get{
                    return this.GetColumn("ReplayName");
                }
            }
				
   			public static string ReplayNameColumn{
			      get{
        			return "ReplayName";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
            public IColumn CommentIP{
                get{
                    return this.GetColumn("CommentIP");
                }
            }
				
   			public static string CommentIPColumn{
			      get{
        			return "CommentIP";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Shop_Payment
        /// Primary Key: ID
        /// </summary>

        public class ModelShop_PaymentTable: DatabaseTable {
            
            public ModelShop_PaymentTable(IDataProvider provider):base("Tbl_Shop_Payment",provider){
                ClassName = "ModelShop_Payment";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("PayName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("PayType", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Interface", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("UserID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("PrivateKey", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 200
                });

                Columns.Add(new DatabaseColumn("ParentID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Email", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 200
                });

                Columns.Add(new DatabaseColumn("AliPaySetting", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("SupportCoins", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Content", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("Status", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("CreateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn PayName{
                get{
                    return this.GetColumn("PayName");
                }
            }
				
   			public static string PayNameColumn{
			      get{
        			return "PayName";
      			}
		    }
            
            public IColumn PayType{
                get{
                    return this.GetColumn("PayType");
                }
            }
				
   			public static string PayTypeColumn{
			      get{
        			return "PayType";
      			}
		    }
            
            public IColumn Interface{
                get{
                    return this.GetColumn("Interface");
                }
            }
				
   			public static string InterfaceColumn{
			      get{
        			return "Interface";
      			}
		    }
            
            public IColumn UserID{
                get{
                    return this.GetColumn("UserID");
                }
            }
				
   			public static string UserIDColumn{
			      get{
        			return "UserID";
      			}
		    }
            
            public IColumn PrivateKey{
                get{
                    return this.GetColumn("PrivateKey");
                }
            }
				
   			public static string PrivateKeyColumn{
			      get{
        			return "PrivateKey";
      			}
		    }
            
            public IColumn ParentID{
                get{
                    return this.GetColumn("ParentID");
                }
            }
				
   			public static string ParentIDColumn{
			      get{
        			return "ParentID";
      			}
		    }
            
            public IColumn Email{
                get{
                    return this.GetColumn("Email");
                }
            }
				
   			public static string EmailColumn{
			      get{
        			return "Email";
      			}
		    }
            
            public IColumn AliPaySetting{
                get{
                    return this.GetColumn("AliPaySetting");
                }
            }
				
   			public static string AliPaySettingColumn{
			      get{
        			return "AliPaySetting";
      			}
		    }
            
            public IColumn SupportCoins{
                get{
                    return this.GetColumn("SupportCoins");
                }
            }
				
   			public static string SupportCoinsColumn{
			      get{
        			return "SupportCoins";
      			}
		    }
            
            public IColumn Content{
                get{
                    return this.GetColumn("Content");
                }
            }
				
   			public static string ContentColumn{
			      get{
        			return "Content";
      			}
		    }
            
            public IColumn Status{
                get{
                    return this.GetColumn("Status");
                }
            }
				
   			public static string StatusColumn{
			      get{
        			return "Status";
      			}
		    }
            
            public IColumn CreateTime{
                get{
                    return this.GetColumn("CreateTime");
                }
            }
				
   			public static string CreateTimeColumn{
			      get{
        			return "CreateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Shop_Shipment
        /// Primary Key: ID
        /// </summary>

        public class ModelShop_ShipmentTable: DatabaseTable {
            
            public ModelShop_ShipmentTable(IDataProvider provider):base("Tbl_Shop_Shipment",provider){
                ClassName = "ModelShop_Shipment";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ShipName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("Content", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("Status", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("CreateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn ShipName{
                get{
                    return this.GetColumn("ShipName");
                }
            }
				
   			public static string ShipNameColumn{
			      get{
        			return "ShipName";
      			}
		    }
            
            public IColumn Content{
                get{
                    return this.GetColumn("Content");
                }
            }
				
   			public static string ContentColumn{
			      get{
        			return "Content";
      			}
		    }
            
            public IColumn Status{
                get{
                    return this.GetColumn("Status");
                }
            }
				
   			public static string StatusColumn{
			      get{
        			return "Status";
      			}
		    }
            
            public IColumn CreateTime{
                get{
                    return this.GetColumn("CreateTime");
                }
            }
				
   			public static string CreateTimeColumn{
			      get{
        			return "CreateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Shop_Order
        /// Primary Key: OrderID
        /// </summary>

        public class ModelShop_OrderTable: DatabaseTable {
            
            public ModelShop_OrderTable(IDataProvider provider):base("Tbl_Shop_Order",provider){
                ClassName = "ModelShop_Order";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("OrderID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("MemberID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("OrderNo", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("OrderTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("BuyerName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("BuyerPhone", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("BuyerEmail", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("BuyerAddress", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("BuyerPostalcode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("ReceiverName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("ReceiverPhone", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("ReceiverEmail", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("ReceiverProCities", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("ReceiverAddress", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("ReceiverPostalcode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("TotalPrice", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Currency,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Discount", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("ShipPrice", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Currency,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("PaymentType", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 200
                });

                Columns.Add(new DatabaseColumn("ShippingType", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 200
                });

                Columns.Add(new DatabaseColumn("Score", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("NeedInvoice", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Byte,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("InvoiceHead", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("InvoiceContent", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("PayStatus", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ShippingStatus", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("IsCancelled", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Byte,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("IsConfirmed", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Byte,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("IsFinished", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Byte,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("OrderStatus", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Remark", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 250
                });

                Columns.Add(new DatabaseColumn("CreateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn OrderID{
                get{
                    return this.GetColumn("OrderID");
                }
            }
				
   			public static string OrderIDColumn{
			      get{
        			return "OrderID";
      			}
		    }
            
            public IColumn MemberID{
                get{
                    return this.GetColumn("MemberID");
                }
            }
				
   			public static string MemberIDColumn{
			      get{
        			return "MemberID";
      			}
		    }
            
            public IColumn OrderNo{
                get{
                    return this.GetColumn("OrderNo");
                }
            }
				
   			public static string OrderNoColumn{
			      get{
        			return "OrderNo";
      			}
		    }
            
            public IColumn OrderTime{
                get{
                    return this.GetColumn("OrderTime");
                }
            }
				
   			public static string OrderTimeColumn{
			      get{
        			return "OrderTime";
      			}
		    }
            
            public IColumn BuyerName{
                get{
                    return this.GetColumn("BuyerName");
                }
            }
				
   			public static string BuyerNameColumn{
			      get{
        			return "BuyerName";
      			}
		    }
            
            public IColumn BuyerPhone{
                get{
                    return this.GetColumn("BuyerPhone");
                }
            }
				
   			public static string BuyerPhoneColumn{
			      get{
        			return "BuyerPhone";
      			}
		    }
            
            public IColumn BuyerEmail{
                get{
                    return this.GetColumn("BuyerEmail");
                }
            }
				
   			public static string BuyerEmailColumn{
			      get{
        			return "BuyerEmail";
      			}
		    }
            
            public IColumn BuyerAddress{
                get{
                    return this.GetColumn("BuyerAddress");
                }
            }
				
   			public static string BuyerAddressColumn{
			      get{
        			return "BuyerAddress";
      			}
		    }
            
            public IColumn BuyerPostalcode{
                get{
                    return this.GetColumn("BuyerPostalcode");
                }
            }
				
   			public static string BuyerPostalcodeColumn{
			      get{
        			return "BuyerPostalcode";
      			}
		    }
            
            public IColumn ReceiverName{
                get{
                    return this.GetColumn("ReceiverName");
                }
            }
				
   			public static string ReceiverNameColumn{
			      get{
        			return "ReceiverName";
      			}
		    }
            
            public IColumn ReceiverPhone{
                get{
                    return this.GetColumn("ReceiverPhone");
                }
            }
				
   			public static string ReceiverPhoneColumn{
			      get{
        			return "ReceiverPhone";
      			}
		    }
            
            public IColumn ReceiverEmail{
                get{
                    return this.GetColumn("ReceiverEmail");
                }
            }
				
   			public static string ReceiverEmailColumn{
			      get{
        			return "ReceiverEmail";
      			}
		    }
            
            public IColumn ReceiverProCities{
                get{
                    return this.GetColumn("ReceiverProCities");
                }
            }
				
   			public static string ReceiverProCitiesColumn{
			      get{
        			return "ReceiverProCities";
      			}
		    }
            
            public IColumn ReceiverAddress{
                get{
                    return this.GetColumn("ReceiverAddress");
                }
            }
				
   			public static string ReceiverAddressColumn{
			      get{
        			return "ReceiverAddress";
      			}
		    }
            
            public IColumn ReceiverPostalcode{
                get{
                    return this.GetColumn("ReceiverPostalcode");
                }
            }
				
   			public static string ReceiverPostalcodeColumn{
			      get{
        			return "ReceiverPostalcode";
      			}
		    }
            
            public IColumn TotalPrice{
                get{
                    return this.GetColumn("TotalPrice");
                }
            }
				
   			public static string TotalPriceColumn{
			      get{
        			return "TotalPrice";
      			}
		    }
            
            public IColumn Discount{
                get{
                    return this.GetColumn("Discount");
                }
            }
				
   			public static string DiscountColumn{
			      get{
        			return "Discount";
      			}
		    }
            
            public IColumn ShipPrice{
                get{
                    return this.GetColumn("ShipPrice");
                }
            }
				
   			public static string ShipPriceColumn{
			      get{
        			return "ShipPrice";
      			}
		    }
            
            public IColumn PaymentType{
                get{
                    return this.GetColumn("PaymentType");
                }
            }
				
   			public static string PaymentTypeColumn{
			      get{
        			return "PaymentType";
      			}
		    }
            
            public IColumn ShippingType{
                get{
                    return this.GetColumn("ShippingType");
                }
            }
				
   			public static string ShippingTypeColumn{
			      get{
        			return "ShippingType";
      			}
		    }
            
            public IColumn Score{
                get{
                    return this.GetColumn("Score");
                }
            }
				
   			public static string ScoreColumn{
			      get{
        			return "Score";
      			}
		    }
            
            public IColumn NeedInvoice{
                get{
                    return this.GetColumn("NeedInvoice");
                }
            }
				
   			public static string NeedInvoiceColumn{
			      get{
        			return "NeedInvoice";
      			}
		    }
            
            public IColumn InvoiceHead{
                get{
                    return this.GetColumn("InvoiceHead");
                }
            }
				
   			public static string InvoiceHeadColumn{
			      get{
        			return "InvoiceHead";
      			}
		    }
            
            public IColumn InvoiceContent{
                get{
                    return this.GetColumn("InvoiceContent");
                }
            }
				
   			public static string InvoiceContentColumn{
			      get{
        			return "InvoiceContent";
      			}
		    }
            
            public IColumn PayStatus{
                get{
                    return this.GetColumn("PayStatus");
                }
            }
				
   			public static string PayStatusColumn{
			      get{
        			return "PayStatus";
      			}
		    }
            
            public IColumn ShippingStatus{
                get{
                    return this.GetColumn("ShippingStatus");
                }
            }
				
   			public static string ShippingStatusColumn{
			      get{
        			return "ShippingStatus";
      			}
		    }
            
            public IColumn IsCancelled{
                get{
                    return this.GetColumn("IsCancelled");
                }
            }
				
   			public static string IsCancelledColumn{
			      get{
        			return "IsCancelled";
      			}
		    }
            
            public IColumn IsConfirmed{
                get{
                    return this.GetColumn("IsConfirmed");
                }
            }
				
   			public static string IsConfirmedColumn{
			      get{
        			return "IsConfirmed";
      			}
		    }
            
            public IColumn IsFinished{
                get{
                    return this.GetColumn("IsFinished");
                }
            }
				
   			public static string IsFinishedColumn{
			      get{
        			return "IsFinished";
      			}
		    }
            
            public IColumn OrderStatus{
                get{
                    return this.GetColumn("OrderStatus");
                }
            }
				
   			public static string OrderStatusColumn{
			      get{
        			return "OrderStatus";
      			}
		    }
            
            public IColumn Remark{
                get{
                    return this.GetColumn("Remark");
                }
            }
				
   			public static string RemarkColumn{
			      get{
        			return "Remark";
      			}
		    }
            
            public IColumn CreateTime{
                get{
                    return this.GetColumn("CreateTime");
                }
            }
				
   			public static string CreateTimeColumn{
			      get{
        			return "CreateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Shop_OrderProduct
        /// Primary Key: ID
        /// </summary>

        public class ModelShop_OrderProductTable: DatabaseTable {
            
            public ModelShop_OrderProductTable(IDataProvider provider):base("Tbl_Shop_OrderProduct",provider){
                ClassName = "ModelShop_OrderProduct";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ProductName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 200
                });

                Columns.Add(new DatabaseColumn("ProductID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("OrderNo", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Quantity", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ProductPrice", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Currency,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("TotalPrice", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Currency,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Specification", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 200
                });

                Columns.Add(new DatabaseColumn("CreateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn ProductName{
                get{
                    return this.GetColumn("ProductName");
                }
            }
				
   			public static string ProductNameColumn{
			      get{
        			return "ProductName";
      			}
		    }
            
            public IColumn ProductID{
                get{
                    return this.GetColumn("ProductID");
                }
            }
				
   			public static string ProductIDColumn{
			      get{
        			return "ProductID";
      			}
		    }
            
            public IColumn OrderNo{
                get{
                    return this.GetColumn("OrderNo");
                }
            }
				
   			public static string OrderNoColumn{
			      get{
        			return "OrderNo";
      			}
		    }
            
            public IColumn Quantity{
                get{
                    return this.GetColumn("Quantity");
                }
            }
				
   			public static string QuantityColumn{
			      get{
        			return "Quantity";
      			}
		    }
            
            public IColumn ProductPrice{
                get{
                    return this.GetColumn("ProductPrice");
                }
            }
				
   			public static string ProductPriceColumn{
			      get{
        			return "ProductPrice";
      			}
		    }
            
            public IColumn TotalPrice{
                get{
                    return this.GetColumn("TotalPrice");
                }
            }
				
   			public static string TotalPriceColumn{
			      get{
        			return "TotalPrice";
      			}
		    }
            
            public IColumn Specification{
                get{
                    return this.GetColumn("Specification");
                }
            }
				
   			public static string SpecificationColumn{
			      get{
        			return "Specification";
      			}
		    }
            
            public IColumn CreateTime{
                get{
                    return this.GetColumn("CreateTime");
                }
            }
				
   			public static string CreateTimeColumn{
			      get{
        			return "CreateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_B_Book
        /// Primary Key: Id
        /// </summary>

        public class ModelB_BookTable: DatabaseTable {
            
            public ModelB_BookTable(IDataProvider provider):base("Tbl_B_Book",provider){
                ClassName = "ModelB_Book";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("Id", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassId", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("BookId", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Isbn", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("BookName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("PubId", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Price", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Currency,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("SellPrice", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Currency,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("PubDate", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Ifhot", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("RecDate", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Jhzk", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 10
                });

                Columns.Add(new DatabaseColumn("Pxzk", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 10
                });

                Columns.Add(new DatabaseColumn("Lszk", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 10
                });

                Columns.Add(new DatabaseColumn("Author", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("ZiShu", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Zhzhen", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("KaiBen", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("KcMax", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("KcMin", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("YinCi", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("IsbnKind", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("WeiZhi", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("YinZhang", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Note", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("CreateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("UpdateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn Id{
                get{
                    return this.GetColumn("Id");
                }
            }
				
   			public static string IdColumn{
			      get{
        			return "Id";
      			}
		    }
            
            public IColumn ClassId{
                get{
                    return this.GetColumn("ClassId");
                }
            }
				
   			public static string ClassIdColumn{
			      get{
        			return "ClassId";
      			}
		    }
            
            public IColumn BookId{
                get{
                    return this.GetColumn("BookId");
                }
            }
				
   			public static string BookIdColumn{
			      get{
        			return "BookId";
      			}
		    }
            
            public IColumn Isbn{
                get{
                    return this.GetColumn("Isbn");
                }
            }
				
   			public static string IsbnColumn{
			      get{
        			return "Isbn";
      			}
		    }
            
            public IColumn BookName{
                get{
                    return this.GetColumn("BookName");
                }
            }
				
   			public static string BookNameColumn{
			      get{
        			return "BookName";
      			}
		    }
            
            public IColumn PubId{
                get{
                    return this.GetColumn("PubId");
                }
            }
				
   			public static string PubIdColumn{
			      get{
        			return "PubId";
      			}
		    }
            
            public IColumn Price{
                get{
                    return this.GetColumn("Price");
                }
            }
				
   			public static string PriceColumn{
			      get{
        			return "Price";
      			}
		    }
            
            public IColumn SellPrice{
                get{
                    return this.GetColumn("SellPrice");
                }
            }
				
   			public static string SellPriceColumn{
			      get{
        			return "SellPrice";
      			}
		    }
            
            public IColumn PubDate{
                get{
                    return this.GetColumn("PubDate");
                }
            }
				
   			public static string PubDateColumn{
			      get{
        			return "PubDate";
      			}
		    }
            
            public IColumn Ifhot{
                get{
                    return this.GetColumn("Ifhot");
                }
            }
				
   			public static string IfhotColumn{
			      get{
        			return "Ifhot";
      			}
		    }
            
            public IColumn RecDate{
                get{
                    return this.GetColumn("RecDate");
                }
            }
				
   			public static string RecDateColumn{
			      get{
        			return "RecDate";
      			}
		    }
            
            public IColumn Jhzk{
                get{
                    return this.GetColumn("Jhzk");
                }
            }
				
   			public static string JhzkColumn{
			      get{
        			return "Jhzk";
      			}
		    }
            
            public IColumn Pxzk{
                get{
                    return this.GetColumn("Pxzk");
                }
            }
				
   			public static string PxzkColumn{
			      get{
        			return "Pxzk";
      			}
		    }
            
            public IColumn Lszk{
                get{
                    return this.GetColumn("Lszk");
                }
            }
				
   			public static string LszkColumn{
			      get{
        			return "Lszk";
      			}
		    }
            
            public IColumn Author{
                get{
                    return this.GetColumn("Author");
                }
            }
				
   			public static string AuthorColumn{
			      get{
        			return "Author";
      			}
		    }
            
            public IColumn ZiShu{
                get{
                    return this.GetColumn("ZiShu");
                }
            }
				
   			public static string ZiShuColumn{
			      get{
        			return "ZiShu";
      			}
		    }
            
            public IColumn Zhzhen{
                get{
                    return this.GetColumn("Zhzhen");
                }
            }
				
   			public static string ZhzhenColumn{
			      get{
        			return "Zhzhen";
      			}
		    }
            
            public IColumn KaiBen{
                get{
                    return this.GetColumn("KaiBen");
                }
            }
				
   			public static string KaiBenColumn{
			      get{
        			return "KaiBen";
      			}
		    }
            
            public IColumn KcMax{
                get{
                    return this.GetColumn("KcMax");
                }
            }
				
   			public static string KcMaxColumn{
			      get{
        			return "KcMax";
      			}
		    }
            
            public IColumn KcMin{
                get{
                    return this.GetColumn("KcMin");
                }
            }
				
   			public static string KcMinColumn{
			      get{
        			return "KcMin";
      			}
		    }
            
            public IColumn YinCi{
                get{
                    return this.GetColumn("YinCi");
                }
            }
				
   			public static string YinCiColumn{
			      get{
        			return "YinCi";
      			}
		    }
            
            public IColumn IsbnKind{
                get{
                    return this.GetColumn("IsbnKind");
                }
            }
				
   			public static string IsbnKindColumn{
			      get{
        			return "IsbnKind";
      			}
		    }
            
            public IColumn WeiZhi{
                get{
                    return this.GetColumn("WeiZhi");
                }
            }
				
   			public static string WeiZhiColumn{
			      get{
        			return "WeiZhi";
      			}
		    }
            
            public IColumn YinZhang{
                get{
                    return this.GetColumn("YinZhang");
                }
            }
				
   			public static string YinZhangColumn{
			      get{
        			return "YinZhang";
      			}
		    }
            
            public IColumn Note{
                get{
                    return this.GetColumn("Note");
                }
            }
				
   			public static string NoteColumn{
			      get{
        			return "Note";
      			}
		    }
            
            public IColumn CreateTime{
                get{
                    return this.GetColumn("CreateTime");
                }
            }
				
   			public static string CreateTimeColumn{
			      get{
        			return "CreateTime";
      			}
		    }
            
            public IColumn UpdateTime{
                get{
                    return this.GetColumn("UpdateTime");
                }
            }
				
   			public static string UpdateTimeColumn{
			      get{
        			return "UpdateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Friend
        /// Primary Key: ID
        /// </summary>

        public class ModelFriendTable: DatabaseTable {
            
            public ModelFriendTable(IDataProvider provider):base("Tbl_Friend",provider){
                ClassName = "ModelFriend";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassId", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("LinkType", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("FriendTitle", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("FriendUrl", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("FriendLogo", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("FriendReadme", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn ClassId{
                get{
                    return this.GetColumn("ClassId");
                }
            }
				
   			public static string ClassIdColumn{
			      get{
        			return "ClassId";
      			}
		    }
            
            public IColumn LinkType{
                get{
                    return this.GetColumn("LinkType");
                }
            }
				
   			public static string LinkTypeColumn{
			      get{
        			return "LinkType";
      			}
		    }
            
            public IColumn FriendTitle{
                get{
                    return this.GetColumn("FriendTitle");
                }
            }
				
   			public static string FriendTitleColumn{
			      get{
        			return "FriendTitle";
      			}
		    }
            
            public IColumn FriendUrl{
                get{
                    return this.GetColumn("FriendUrl");
                }
            }
				
   			public static string FriendUrlColumn{
			      get{
        			return "FriendUrl";
      			}
		    }
            
            public IColumn FriendLogo{
                get{
                    return this.GetColumn("FriendLogo");
                }
            }
				
   			public static string FriendLogoColumn{
			      get{
        			return "FriendLogo";
      			}
		    }
            
            public IColumn FriendReadme{
                get{
                    return this.GetColumn("FriendReadme");
                }
            }
				
   			public static string FriendReadmeColumn{
			      get{
        			return "FriendReadme";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_HotKeyWord
        /// Primary Key: ID
        /// </summary>

        public class ModelHotKeyWordTable: DatabaseTable {
            
            public ModelHotKeyWordTable(IDataProvider provider):base("Tbl_HotKeyWord",provider){
                ClassName = "ModelHotKeyWord";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassId", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("HotKeyName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("HotKeyUrl", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("OrderID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("CreateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn ClassId{
                get{
                    return this.GetColumn("ClassId");
                }
            }
				
   			public static string ClassIdColumn{
			      get{
        			return "ClassId";
      			}
		    }
            
            public IColumn HotKeyName{
                get{
                    return this.GetColumn("HotKeyName");
                }
            }
				
   			public static string HotKeyNameColumn{
			      get{
        			return "HotKeyName";
      			}
		    }
            
            public IColumn HotKeyUrl{
                get{
                    return this.GetColumn("HotKeyUrl");
                }
            }
				
   			public static string HotKeyUrlColumn{
			      get{
        			return "HotKeyUrl";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
            public IColumn OrderID{
                get{
                    return this.GetColumn("OrderID");
                }
            }
				
   			public static string OrderIDColumn{
			      get{
        			return "OrderID";
      			}
		    }
            
            public IColumn CreateTime{
                get{
                    return this.GetColumn("CreateTime");
                }
            }
				
   			public static string CreateTimeColumn{
			      get{
        			return "CreateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_HelpClass
        /// Primary Key: ClassID
        /// </summary>

        public class ModelHelpClassTable: DatabaseTable {
            
            public ModelHelpClassTable(IDataProvider provider):base("Tbl_HelpClass",provider){
                ClassName = "ModelHelpClass";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ChannelID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassCode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassPhoto", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassKeyWord", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassDescription", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassTitle", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 100
                });

                Columns.Add(new DatabaseColumn("ParentID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Info", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn ChannelID{
                get{
                    return this.GetColumn("ChannelID");
                }
            }
				
   			public static string ChannelIDColumn{
			      get{
        			return "ChannelID";
      			}
		    }
            
            public IColumn ClassCode{
                get{
                    return this.GetColumn("ClassCode");
                }
            }
				
   			public static string ClassCodeColumn{
			      get{
        			return "ClassCode";
      			}
		    }
            
            public IColumn ClassPhoto{
                get{
                    return this.GetColumn("ClassPhoto");
                }
            }
				
   			public static string ClassPhotoColumn{
			      get{
        			return "ClassPhoto";
      			}
		    }
            
            public IColumn ClassKeyWord{
                get{
                    return this.GetColumn("ClassKeyWord");
                }
            }
				
   			public static string ClassKeyWordColumn{
			      get{
        			return "ClassKeyWord";
      			}
		    }
            
            public IColumn ClassDescription{
                get{
                    return this.GetColumn("ClassDescription");
                }
            }
				
   			public static string ClassDescriptionColumn{
			      get{
        			return "ClassDescription";
      			}
		    }
            
            public IColumn ClassTitle{
                get{
                    return this.GetColumn("ClassTitle");
                }
            }
				
   			public static string ClassTitleColumn{
			      get{
        			return "ClassTitle";
      			}
		    }
            
            public IColumn ParentID{
                get{
                    return this.GetColumn("ParentID");
                }
            }
				
   			public static string ParentIDColumn{
			      get{
        			return "ParentID";
      			}
		    }
            
            public IColumn Info{
                get{
                    return this.GetColumn("Info");
                }
            }
				
   			public static string InfoColumn{
			      get{
        			return "Info";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Help
        /// Primary Key: ID
        /// </summary>

        public class ModelHelpTable: DatabaseTable {
            
            public ModelHelpTable(IDataProvider provider):base("Tbl_Help",provider){
                ClassName = "ModelHelp";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Title", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Content", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("AddDateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Hits", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn Title{
                get{
                    return this.GetColumn("Title");
                }
            }
				
   			public static string TitleColumn{
			      get{
        			return "Title";
      			}
		    }
            
            public IColumn Content{
                get{
                    return this.GetColumn("Content");
                }
            }
				
   			public static string ContentColumn{
			      get{
        			return "Content";
      			}
		    }
            
            public IColumn AddDateTime{
                get{
                    return this.GetColumn("AddDateTime");
                }
            }
				
   			public static string AddDateTimeColumn{
			      get{
        			return "AddDateTime";
      			}
		    }
            
            public IColumn Hits{
                get{
                    return this.GetColumn("Hits");
                }
            }
				
   			public static string HitsColumn{
			      get{
        			return "Hits";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_B_BookPublish
        /// Primary Key: Id
        /// </summary>

        public class ModelB_BookPublishTable: DatabaseTable {
            
            public ModelB_BookPublishTable(IDataProvider provider):base("Tbl_B_BookPublish",provider){
                ClassName = "ModelB_BookPublish";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("Id", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("PubId", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("PubCode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("PubPhoto", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("PubName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("PubTel", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("CharIndex", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 5
                });

                Columns.Add(new DatabaseColumn("Note", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("CreateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn Id{
                get{
                    return this.GetColumn("Id");
                }
            }
				
   			public static string IdColumn{
			      get{
        			return "Id";
      			}
		    }
            
            public IColumn PubId{
                get{
                    return this.GetColumn("PubId");
                }
            }
				
   			public static string PubIdColumn{
			      get{
        			return "PubId";
      			}
		    }
            
            public IColumn PubCode{
                get{
                    return this.GetColumn("PubCode");
                }
            }
				
   			public static string PubCodeColumn{
			      get{
        			return "PubCode";
      			}
		    }
            
            public IColumn PubPhoto{
                get{
                    return this.GetColumn("PubPhoto");
                }
            }
				
   			public static string PubPhotoColumn{
			      get{
        			return "PubPhoto";
      			}
		    }
            
            public IColumn PubName{
                get{
                    return this.GetColumn("PubName");
                }
            }
				
   			public static string PubNameColumn{
			      get{
        			return "PubName";
      			}
		    }
            
            public IColumn PubTel{
                get{
                    return this.GetColumn("PubTel");
                }
            }
				
   			public static string PubTelColumn{
			      get{
        			return "PubTel";
      			}
		    }
            
            public IColumn CharIndex{
                get{
                    return this.GetColumn("CharIndex");
                }
            }
				
   			public static string CharIndexColumn{
			      get{
        			return "CharIndex";
      			}
		    }
            
            public IColumn Note{
                get{
                    return this.GetColumn("Note");
                }
            }
				
   			public static string NoteColumn{
			      get{
        			return "Note";
      			}
		    }
            
            public IColumn CreateTime{
                get{
                    return this.GetColumn("CreateTime");
                }
            }
				
   			public static string CreateTimeColumn{
			      get{
        			return "CreateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_B_BookAuthor
        /// Primary Key: Id
        /// </summary>

        public class ModelB_BookAuthorTable: DatabaseTable {
            
            public ModelB_BookAuthorTable(IDataProvider provider):base("Tbl_B_BookAuthor",provider){
                ClassName = "ModelB_BookAuthor";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("Id", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Name", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Photo", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("Note", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 400
                });

                Columns.Add(new DatabaseColumn("CreateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn Id{
                get{
                    return this.GetColumn("Id");
                }
            }
				
   			public static string IdColumn{
			      get{
        			return "Id";
      			}
		    }
            
            public IColumn Name{
                get{
                    return this.GetColumn("Name");
                }
            }
				
   			public static string NameColumn{
			      get{
        			return "Name";
      			}
		    }
            
            public IColumn Photo{
                get{
                    return this.GetColumn("Photo");
                }
            }
				
   			public static string PhotoColumn{
			      get{
        			return "Photo";
      			}
		    }
            
            public IColumn Note{
                get{
                    return this.GetColumn("Note");
                }
            }
				
   			public static string NoteColumn{
			      get{
        			return "Note";
      			}
		    }
            
            public IColumn CreateTime{
                get{
                    return this.GetColumn("CreateTime");
                }
            }
				
   			public static string CreateTimeColumn{
			      get{
        			return "CreateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Blocker
        /// Primary Key: ID
        /// </summary>

        public class ModelBlockerTable: DatabaseTable {
            
            public ModelBlockerTable(IDataProvider provider):base("Tbl_Blocker",provider){
                ClassName = "ModelBlocker";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("BlockerType", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("BlockerName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("BlockerID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("BlockerContent", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("BlockerDesc", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("UpdateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("BlockerPage", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn BlockerType{
                get{
                    return this.GetColumn("BlockerType");
                }
            }
				
   			public static string BlockerTypeColumn{
			      get{
        			return "BlockerType";
      			}
		    }
            
            public IColumn BlockerName{
                get{
                    return this.GetColumn("BlockerName");
                }
            }
				
   			public static string BlockerNameColumn{
			      get{
        			return "BlockerName";
      			}
		    }
            
            public IColumn BlockerID{
                get{
                    return this.GetColumn("BlockerID");
                }
            }
				
   			public static string BlockerIDColumn{
			      get{
        			return "BlockerID";
      			}
		    }
            
            public IColumn BlockerContent{
                get{
                    return this.GetColumn("BlockerContent");
                }
            }
				
   			public static string BlockerContentColumn{
			      get{
        			return "BlockerContent";
      			}
		    }
            
            public IColumn BlockerDesc{
                get{
                    return this.GetColumn("BlockerDesc");
                }
            }
				
   			public static string BlockerDescColumn{
			      get{
        			return "BlockerDesc";
      			}
		    }
            
            public IColumn UpdateTime{
                get{
                    return this.GetColumn("UpdateTime");
                }
            }
				
   			public static string UpdateTimeColumn{
			      get{
        			return "UpdateTime";
      			}
		    }
            
            public IColumn BlockerPage{
                get{
                    return this.GetColumn("BlockerPage");
                }
            }
				
   			public static string BlockerPageColumn{
			      get{
        			return "BlockerPage";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Config
        /// Primary Key: ID
        /// </summary>

        public class ModelConfigTable: DatabaseTable {
            
            public ModelConfigTable(IDataProvider provider):base("Tbl_Config",provider){
                ClassName = "ModelConfig";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("SiteTitle", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("SiteUrl", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("SiteLogo", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("WebmasterName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("WebmasterEmail", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("SiteCopyright", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("SiteDescription", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("SiteKeywords", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("SiteState", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("SiteCloseText", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("MailObject", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("MailServer", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("MailServerUserName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("MailServerPassWord", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("MailDomain", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("TemplatePath", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("UrlRewrite", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("UploadType", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("UploadMwidth", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("UploadSwidth", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("SiteShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("TemplateDir", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn SiteTitle{
                get{
                    return this.GetColumn("SiteTitle");
                }
            }
				
   			public static string SiteTitleColumn{
			      get{
        			return "SiteTitle";
      			}
		    }
            
            public IColumn SiteUrl{
                get{
                    return this.GetColumn("SiteUrl");
                }
            }
				
   			public static string SiteUrlColumn{
			      get{
        			return "SiteUrl";
      			}
		    }
            
            public IColumn SiteLogo{
                get{
                    return this.GetColumn("SiteLogo");
                }
            }
				
   			public static string SiteLogoColumn{
			      get{
        			return "SiteLogo";
      			}
		    }
            
            public IColumn WebmasterName{
                get{
                    return this.GetColumn("WebmasterName");
                }
            }
				
   			public static string WebmasterNameColumn{
			      get{
        			return "WebmasterName";
      			}
		    }
            
            public IColumn WebmasterEmail{
                get{
                    return this.GetColumn("WebmasterEmail");
                }
            }
				
   			public static string WebmasterEmailColumn{
			      get{
        			return "WebmasterEmail";
      			}
		    }
            
            public IColumn SiteCopyright{
                get{
                    return this.GetColumn("SiteCopyright");
                }
            }
				
   			public static string SiteCopyrightColumn{
			      get{
        			return "SiteCopyright";
      			}
		    }
            
            public IColumn SiteDescription{
                get{
                    return this.GetColumn("SiteDescription");
                }
            }
				
   			public static string SiteDescriptionColumn{
			      get{
        			return "SiteDescription";
      			}
		    }
            
            public IColumn SiteKeywords{
                get{
                    return this.GetColumn("SiteKeywords");
                }
            }
				
   			public static string SiteKeywordsColumn{
			      get{
        			return "SiteKeywords";
      			}
		    }
            
            public IColumn SiteState{
                get{
                    return this.GetColumn("SiteState");
                }
            }
				
   			public static string SiteStateColumn{
			      get{
        			return "SiteState";
      			}
		    }
            
            public IColumn SiteCloseText{
                get{
                    return this.GetColumn("SiteCloseText");
                }
            }
				
   			public static string SiteCloseTextColumn{
			      get{
        			return "SiteCloseText";
      			}
		    }
            
            public IColumn MailObject{
                get{
                    return this.GetColumn("MailObject");
                }
            }
				
   			public static string MailObjectColumn{
			      get{
        			return "MailObject";
      			}
		    }
            
            public IColumn MailServer{
                get{
                    return this.GetColumn("MailServer");
                }
            }
				
   			public static string MailServerColumn{
			      get{
        			return "MailServer";
      			}
		    }
            
            public IColumn MailServerUserName{
                get{
                    return this.GetColumn("MailServerUserName");
                }
            }
				
   			public static string MailServerUserNameColumn{
			      get{
        			return "MailServerUserName";
      			}
		    }
            
            public IColumn MailServerPassWord{
                get{
                    return this.GetColumn("MailServerPassWord");
                }
            }
				
   			public static string MailServerPassWordColumn{
			      get{
        			return "MailServerPassWord";
      			}
		    }
            
            public IColumn MailDomain{
                get{
                    return this.GetColumn("MailDomain");
                }
            }
				
   			public static string MailDomainColumn{
			      get{
        			return "MailDomain";
      			}
		    }
            
            public IColumn TemplatePath{
                get{
                    return this.GetColumn("TemplatePath");
                }
            }
				
   			public static string TemplatePathColumn{
			      get{
        			return "TemplatePath";
      			}
		    }
            
            public IColumn UrlRewrite{
                get{
                    return this.GetColumn("UrlRewrite");
                }
            }
				
   			public static string UrlRewriteColumn{
			      get{
        			return "UrlRewrite";
      			}
		    }
            
            public IColumn UploadType{
                get{
                    return this.GetColumn("UploadType");
                }
            }
				
   			public static string UploadTypeColumn{
			      get{
        			return "UploadType";
      			}
		    }
            
            public IColumn UploadMwidth{
                get{
                    return this.GetColumn("UploadMwidth");
                }
            }
				
   			public static string UploadMwidthColumn{
			      get{
        			return "UploadMwidth";
      			}
		    }
            
            public IColumn UploadSwidth{
                get{
                    return this.GetColumn("UploadSwidth");
                }
            }
				
   			public static string UploadSwidthColumn{
			      get{
        			return "UploadSwidth";
      			}
		    }
            
            public IColumn SiteShow{
                get{
                    return this.GetColumn("SiteShow");
                }
            }
				
   			public static string SiteShowColumn{
			      get{
        			return "SiteShow";
      			}
		    }
            
            public IColumn TemplateDir{
                get{
                    return this.GetColumn("TemplateDir");
                }
            }
				
   			public static string TemplateDirColumn{
			      get{
        			return "TemplateDir";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_ArticleClass
        /// Primary Key: ClassID
        /// </summary>

        public class ModelArticleClassTable: DatabaseTable {
            
            public ModelArticleClassTable(IDataProvider provider):base("Tbl_ArticleClass",provider){
                ClassName = "ModelArticleClass";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ChannelID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassCode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassPhoto", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassKeyWord", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassDescription", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassTitle", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 100
                });

                Columns.Add(new DatabaseColumn("ParentID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Info", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn ChannelID{
                get{
                    return this.GetColumn("ChannelID");
                }
            }
				
   			public static string ChannelIDColumn{
			      get{
        			return "ChannelID";
      			}
		    }
            
            public IColumn ClassCode{
                get{
                    return this.GetColumn("ClassCode");
                }
            }
				
   			public static string ClassCodeColumn{
			      get{
        			return "ClassCode";
      			}
		    }
            
            public IColumn ClassPhoto{
                get{
                    return this.GetColumn("ClassPhoto");
                }
            }
				
   			public static string ClassPhotoColumn{
			      get{
        			return "ClassPhoto";
      			}
		    }
            
            public IColumn ClassKeyWord{
                get{
                    return this.GetColumn("ClassKeyWord");
                }
            }
				
   			public static string ClassKeyWordColumn{
			      get{
        			return "ClassKeyWord";
      			}
		    }
            
            public IColumn ClassDescription{
                get{
                    return this.GetColumn("ClassDescription");
                }
            }
				
   			public static string ClassDescriptionColumn{
			      get{
        			return "ClassDescription";
      			}
		    }
            
            public IColumn ClassTitle{
                get{
                    return this.GetColumn("ClassTitle");
                }
            }
				
   			public static string ClassTitleColumn{
			      get{
        			return "ClassTitle";
      			}
		    }
            
            public IColumn ParentID{
                get{
                    return this.GetColumn("ParentID");
                }
            }
				
   			public static string ParentIDColumn{
			      get{
        			return "ParentID";
      			}
		    }
            
            public IColumn Info{
                get{
                    return this.GetColumn("Info");
                }
            }
				
   			public static string InfoColumn{
			      get{
        			return "Info";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Article
        /// Primary Key: ID
        /// </summary>

        public class ModelArticleTable: DatabaseTable {
            
            public ModelArticleTable(IDataProvider provider):base("Tbl_Article",provider){
                ClassName = "ModelArticle";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ChannelID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Title", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 250
                });

                Columns.Add(new DatabaseColumn("KeyWords", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("CopyFrom", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Author", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Editor", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Content", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = -1
                });

                Columns.Add(new DatabaseColumn("ShortContent", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("IsUrl", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("LinkUrl", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("DefaultPicUrl", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Hits", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("CutomField", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Passed", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("AddDateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("UpDateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn ChannelID{
                get{
                    return this.GetColumn("ChannelID");
                }
            }
				
   			public static string ChannelIDColumn{
			      get{
        			return "ChannelID";
      			}
		    }
            
            public IColumn Title{
                get{
                    return this.GetColumn("Title");
                }
            }
				
   			public static string TitleColumn{
			      get{
        			return "Title";
      			}
		    }
            
            public IColumn KeyWords{
                get{
                    return this.GetColumn("KeyWords");
                }
            }
				
   			public static string KeyWordsColumn{
			      get{
        			return "KeyWords";
      			}
		    }
            
            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn CopyFrom{
                get{
                    return this.GetColumn("CopyFrom");
                }
            }
				
   			public static string CopyFromColumn{
			      get{
        			return "CopyFrom";
      			}
		    }
            
            public IColumn Author{
                get{
                    return this.GetColumn("Author");
                }
            }
				
   			public static string AuthorColumn{
			      get{
        			return "Author";
      			}
		    }
            
            public IColumn Editor{
                get{
                    return this.GetColumn("Editor");
                }
            }
				
   			public static string EditorColumn{
			      get{
        			return "Editor";
      			}
		    }
            
            public IColumn Content{
                get{
                    return this.GetColumn("Content");
                }
            }
				
   			public static string ContentColumn{
			      get{
        			return "Content";
      			}
		    }
            
            public IColumn ShortContent{
                get{
                    return this.GetColumn("ShortContent");
                }
            }
				
   			public static string ShortContentColumn{
			      get{
        			return "ShortContent";
      			}
		    }
            
            public IColumn IsUrl{
                get{
                    return this.GetColumn("IsUrl");
                }
            }
				
   			public static string IsUrlColumn{
			      get{
        			return "IsUrl";
      			}
		    }
            
            public IColumn LinkUrl{
                get{
                    return this.GetColumn("LinkUrl");
                }
            }
				
   			public static string LinkUrlColumn{
			      get{
        			return "LinkUrl";
      			}
		    }
            
            public IColumn DefaultPicUrl{
                get{
                    return this.GetColumn("DefaultPicUrl");
                }
            }
				
   			public static string DefaultPicUrlColumn{
			      get{
        			return "DefaultPicUrl";
      			}
		    }
            
            public IColumn Hits{
                get{
                    return this.GetColumn("Hits");
                }
            }
				
   			public static string HitsColumn{
			      get{
        			return "Hits";
      			}
		    }
            
            public IColumn CutomField{
                get{
                    return this.GetColumn("CutomField");
                }
            }
				
   			public static string CutomFieldColumn{
			      get{
        			return "CutomField";
      			}
		    }
            
            public IColumn Passed{
                get{
                    return this.GetColumn("Passed");
                }
            }
				
   			public static string PassedColumn{
			      get{
        			return "Passed";
      			}
		    }
            
            public IColumn AddDateTime{
                get{
                    return this.GetColumn("AddDateTime");
                }
            }
				
   			public static string AddDateTimeColumn{
			      get{
        			return "AddDateTime";
      			}
		    }
            
            public IColumn UpDateTime{
                get{
                    return this.GetColumn("UpDateTime");
                }
            }
				
   			public static string UpDateTimeColumn{
			      get{
        			return "UpDateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Admin
        /// Primary Key: ID
        /// </summary>

        public class ModelAdminTable: DatabaseTable {
            
            public ModelAdminTable(IDataProvider provider):base("Tbl_Admin",provider){
                ClassName = "ModelAdmin";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("AdminName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("AdminPwd", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("LoginTimes", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("LoginTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("LoginIP", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });
                    
                
                
            }

            public IColumn ID{
                get{
                    return this.GetColumn("ID");
                }
            }
				
   			public static string IDColumn{
			      get{
        			return "ID";
      			}
		    }
            
            public IColumn AdminName{
                get{
                    return this.GetColumn("AdminName");
                }
            }
				
   			public static string AdminNameColumn{
			      get{
        			return "AdminName";
      			}
		    }
            
            public IColumn AdminPwd{
                get{
                    return this.GetColumn("AdminPwd");
                }
            }
				
   			public static string AdminPwdColumn{
			      get{
        			return "AdminPwd";
      			}
		    }
            
            public IColumn LoginTimes{
                get{
                    return this.GetColumn("LoginTimes");
                }
            }
				
   			public static string LoginTimesColumn{
			      get{
        			return "LoginTimes";
      			}
		    }
            
            public IColumn LoginTime{
                get{
                    return this.GetColumn("LoginTime");
                }
            }
				
   			public static string LoginTimeColumn{
			      get{
        			return "LoginTime";
      			}
		    }
            
            public IColumn LoginIP{
                get{
                    return this.GetColumn("LoginIP");
                }
            }
				
   			public static string LoginIPColumn{
			      get{
        			return "LoginIP";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_B_BookIsbn
        /// Primary Key: Id
        /// </summary>

        public class ModelB_BookIsbnTable: DatabaseTable {
            
            public ModelB_BookIsbnTable(IDataProvider provider):base("Tbl_B_BookIsbn",provider){
                ClassName = "ModelB_BookIsbn";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("Id", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("IsbnKind", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Note", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("CreateTime", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.DateTime,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn Id{
                get{
                    return this.GetColumn("Id");
                }
            }
				
   			public static string IdColumn{
			      get{
        			return "Id";
      			}
		    }
            
            public IColumn IsbnKind{
                get{
                    return this.GetColumn("IsbnKind");
                }
            }
				
   			public static string IsbnKindColumn{
			      get{
        			return "IsbnKind";
      			}
		    }
            
            public IColumn Note{
                get{
                    return this.GetColumn("Note");
                }
            }
				
   			public static string NoteColumn{
			      get{
        			return "Note";
      			}
		    }
            
            public IColumn CreateTime{
                get{
                    return this.GetColumn("CreateTime");
                }
            }
				
   			public static string CreateTimeColumn{
			      get{
        			return "CreateTime";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_FriendClass
        /// Primary Key: ClassID
        /// </summary>

        public class ModelFriendClassTable: DatabaseTable {
            
            public ModelFriendClassTable(IDataProvider provider):base("Tbl_FriendClass",provider){
                ClassName = "ModelFriendClass";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ChannelID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassCode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassPhoto", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassKeyWord", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassDescription", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassTitle", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 100
                });

                Columns.Add(new DatabaseColumn("ParentID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Info", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn ChannelID{
                get{
                    return this.GetColumn("ChannelID");
                }
            }
				
   			public static string ChannelIDColumn{
			      get{
        			return "ChannelID";
      			}
		    }
            
            public IColumn ClassCode{
                get{
                    return this.GetColumn("ClassCode");
                }
            }
				
   			public static string ClassCodeColumn{
			      get{
        			return "ClassCode";
      			}
		    }
            
            public IColumn ClassPhoto{
                get{
                    return this.GetColumn("ClassPhoto");
                }
            }
				
   			public static string ClassPhotoColumn{
			      get{
        			return "ClassPhoto";
      			}
		    }
            
            public IColumn ClassKeyWord{
                get{
                    return this.GetColumn("ClassKeyWord");
                }
            }
				
   			public static string ClassKeyWordColumn{
			      get{
        			return "ClassKeyWord";
      			}
		    }
            
            public IColumn ClassDescription{
                get{
                    return this.GetColumn("ClassDescription");
                }
            }
				
   			public static string ClassDescriptionColumn{
			      get{
        			return "ClassDescription";
      			}
		    }
            
            public IColumn ClassTitle{
                get{
                    return this.GetColumn("ClassTitle");
                }
            }
				
   			public static string ClassTitleColumn{
			      get{
        			return "ClassTitle";
      			}
		    }
            
            public IColumn ParentID{
                get{
                    return this.GetColumn("ParentID");
                }
            }
				
   			public static string ParentIDColumn{
			      get{
        			return "ParentID";
      			}
		    }
            
            public IColumn Info{
                get{
                    return this.GetColumn("Info");
                }
            }
				
   			public static string InfoColumn{
			      get{
        			return "Info";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_Shop_Area
        /// Primary Key: Area_Id
        /// </summary>

        public class ModelShop_AreaTable: DatabaseTable {
            
            public ModelShop_AreaTable(IDataProvider provider):base("Tbl_Shop_Area",provider){
                ClassName = "ModelShop_Area";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("Area_Id", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.AnsiString,
	                IsNullable = false,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Area_name", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });

                Columns.Add(new DatabaseColumn("Area_Level", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Area_Parent_Id", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.AnsiString,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });
                    
                
                
            }

            public IColumn Area_Id{
                get{
                    return this.GetColumn("Area_Id");
                }
            }
				
   			public static string Area_IdColumn{
			      get{
        			return "Area_Id";
      			}
		    }
            
            public IColumn Area_name{
                get{
                    return this.GetColumn("Area_name");
                }
            }
				
   			public static string Area_nameColumn{
			      get{
        			return "Area_name";
      			}
		    }
            
            public IColumn Area_Level{
                get{
                    return this.GetColumn("Area_Level");
                }
            }
				
   			public static string Area_LevelColumn{
			      get{
        			return "Area_Level";
      			}
		    }
            
            public IColumn Area_Parent_Id{
                get{
                    return this.GetColumn("Area_Parent_Id");
                }
            }
				
   			public static string Area_Parent_IdColumn{
			      get{
        			return "Area_Parent_Id";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_HotKeyWordClass
        /// Primary Key: ClassID
        /// </summary>

        public class ModelHotKeyWordClassTable: DatabaseTable {
            
            public ModelHotKeyWordClassTable(IDataProvider provider):base("Tbl_HotKeyWordClass",provider){
                ClassName = "ModelHotKeyWordClass";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ChannelID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassCode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassPhoto", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassKeyWord", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassDescription", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassTitle", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 100
                });

                Columns.Add(new DatabaseColumn("ParentID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Info", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn ChannelID{
                get{
                    return this.GetColumn("ChannelID");
                }
            }
				
   			public static string ChannelIDColumn{
			      get{
        			return "ChannelID";
      			}
		    }
            
            public IColumn ClassCode{
                get{
                    return this.GetColumn("ClassCode");
                }
            }
				
   			public static string ClassCodeColumn{
			      get{
        			return "ClassCode";
      			}
		    }
            
            public IColumn ClassPhoto{
                get{
                    return this.GetColumn("ClassPhoto");
                }
            }
				
   			public static string ClassPhotoColumn{
			      get{
        			return "ClassPhoto";
      			}
		    }
            
            public IColumn ClassKeyWord{
                get{
                    return this.GetColumn("ClassKeyWord");
                }
            }
				
   			public static string ClassKeyWordColumn{
			      get{
        			return "ClassKeyWord";
      			}
		    }
            
            public IColumn ClassDescription{
                get{
                    return this.GetColumn("ClassDescription");
                }
            }
				
   			public static string ClassDescriptionColumn{
			      get{
        			return "ClassDescription";
      			}
		    }
            
            public IColumn ClassTitle{
                get{
                    return this.GetColumn("ClassTitle");
                }
            }
				
   			public static string ClassTitleColumn{
			      get{
        			return "ClassTitle";
      			}
		    }
            
            public IColumn ParentID{
                get{
                    return this.GetColumn("ParentID");
                }
            }
				
   			public static string ParentIDColumn{
			      get{
        			return "ParentID";
      			}
		    }
            
            public IColumn Info{
                get{
                    return this.GetColumn("Info");
                }
            }
				
   			public static string InfoColumn{
			      get{
        			return "Info";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_AdminRole
        /// Primary Key: Id
        /// </summary>

        public class ModelAdminRoleTable: DatabaseTable {
            
            public ModelAdminRoleTable(IDataProvider provider):base("Tbl_AdminRole",provider){
                ClassName = "ModelAdminRole";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("Id", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = true,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("RoleName", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 50
                });
                    
                
                
            }

            public IColumn Id{
                get{
                    return this.GetColumn("Id");
                }
            }
				
   			public static string IdColumn{
			      get{
        			return "Id";
      			}
		    }
            
            public IColumn RoleName{
                get{
                    return this.GetColumn("RoleName");
                }
            }
				
   			public static string RoleNameColumn{
			      get{
        			return "RoleName";
      			}
		    }
            
                    
        }
        
        /// <summary>
        /// Table: Tbl_ArticleTopicClass
        /// Primary Key: ClassID
        /// </summary>

        public class ModelArticleTopicClassTable: DatabaseTable {
            
            public ModelArticleTopicClassTable(IDataProvider provider):base("Tbl_ArticleTopicClass",provider){
                ClassName = "ModelArticleTopicClass";
                SchemaName = "dbo";
                

                Columns.Add(new DatabaseColumn("ClassID", this)
                {
	                IsPrimaryKey = true,
	                DataType = DbType.Int32,
	                IsNullable = false,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ChannelID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("ClassCode", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassPhoto", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassKeyWord", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassDescription", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("ClassTitle", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 100
                });

                Columns.Add(new DatabaseColumn("ParentID", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });

                Columns.Add(new DatabaseColumn("Info", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.String,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 255
                });

                Columns.Add(new DatabaseColumn("IsShow", this)
                {
	                IsPrimaryKey = false,
	                DataType = DbType.Int32,
	                IsNullable = true,
	                AutoIncrement = false,
	                IsForeignKey = false,
	                MaxLength = 0
                });
                    
                
                
            }

            public IColumn ClassID{
                get{
                    return this.GetColumn("ClassID");
                }
            }
				
   			public static string ClassIDColumn{
			      get{
        			return "ClassID";
      			}
		    }
            
            public IColumn ChannelID{
                get{
                    return this.GetColumn("ChannelID");
                }
            }
				
   			public static string ChannelIDColumn{
			      get{
        			return "ChannelID";
      			}
		    }
            
            public IColumn ClassCode{
                get{
                    return this.GetColumn("ClassCode");
                }
            }
				
   			public static string ClassCodeColumn{
			      get{
        			return "ClassCode";
      			}
		    }
            
            public IColumn ClassPhoto{
                get{
                    return this.GetColumn("ClassPhoto");
                }
            }
				
   			public static string ClassPhotoColumn{
			      get{
        			return "ClassPhoto";
      			}
		    }
            
            public IColumn ClassKeyWord{
                get{
                    return this.GetColumn("ClassKeyWord");
                }
            }
				
   			public static string ClassKeyWordColumn{
			      get{
        			return "ClassKeyWord";
      			}
		    }
            
            public IColumn ClassDescription{
                get{
                    return this.GetColumn("ClassDescription");
                }
            }
				
   			public static string ClassDescriptionColumn{
			      get{
        			return "ClassDescription";
      			}
		    }
            
            public IColumn ClassTitle{
                get{
                    return this.GetColumn("ClassTitle");
                }
            }
				
   			public static string ClassTitleColumn{
			      get{
        			return "ClassTitle";
      			}
		    }
            
            public IColumn ParentID{
                get{
                    return this.GetColumn("ParentID");
                }
            }
				
   			public static string ParentIDColumn{
			      get{
        			return "ParentID";
      			}
		    }
            
            public IColumn Info{
                get{
                    return this.GetColumn("Info");
                }
            }
				
   			public static string InfoColumn{
			      get{
        			return "Info";
      			}
		    }
            
            public IColumn IsShow{
                get{
                    return this.GetColumn("IsShow");
                }
            }
				
   			public static string IsShowColumn{
			      get{
        			return "IsShow";
      			}
		    }
            
                    
        }
        
}